package xyz.bali16.module.article.model.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
@Data
@ApiModel("修改评论参数")
public class CommentUpdateParam  {
    @ApiModelProperty(name = "id", value = "评论id", required = true)
    @NotEmpty(message = "评论id不能为空")
    private String id;
    @ApiModelProperty(name = "content", value = "评论内容", required = true)
    @NotNull(message = "评论内容类型不可为空")
    private String content;
}
